<?php

class Hooks_Enqueue_Order
{
    //订单监控
    public function order_detect($order)
    {
        $args  = array('ordersn' => $order['ordersn']);
        //状态处理
        Hooks_Enqueue_Queue::handle('order', 'Job_Order_Detectjob', $args);
    }

    //用户通知信息
    public function send_product_order_msg($order)
    {
        $args  = array('order' => $order, 'type' => "order_msg2");
        //状态处理
        Hooks_Enqueue_Queue::handle('message', 'Job_Order_Sendproductordermsgjob', $args);
    }

    //用户邮件消息
    public function send_product_order_email($order)
    {
        $args  = array('order' => $order, 'type' => "order_msg2");
        //状态处理
        Hooks_Enqueue_Queue::handle('message', 'Job_Order_Sendproductorderemailjob', $args);
    }
}